{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "dff787f6",
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "999-97-3\n",
      "65864-64-4\n",
      "115262-01-6\n",
      "38051-57-9\n",
      "766-77-8\n",
      "115262-00-5\n",
      "5157-75-5\n",
      "994-30-9\n",
      "5582-62-7\n",
      "69304-37-6\n",
      "13154-24-0\n",
      "3449-26-1\n",
      "77377-52-7\n",
      "76513-69-4\n",
      "58479-61-1\n",
      "98-80-6\n",
      "10416-59-8\n",
      "75-77-4\n",
      "18171-11-4\n",
      "18244-95-6\n"
     ]
    }
   ],
   "source": [
    "import requests\n",
    "\n",
    "response = requests.get(\"http://web.jkchemical.com/api/product-catalog/372/products/1\")\n",
    "\n",
    "data = response.json()\n",
    "\n",
    "for i in data['hits']:\n",
    "    print(i['CAS'])\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
